<!-- IF S_INSERT -->
<script type="text/javascript">
	function insertimage(){
	        if (parent.comm._viewmode == 1){
                parent.comm._HTML(' ',' ','<img src="http://{S_URL}" />');
                }else{
                parent.bbfontstyle('[img]http://{S_URL}' ,'[/img]');
                }
				}
	insertimage();
</script>
<!-- ENDIF -->
<a href="" onclick="parent.document.getElementById('uploaderrel').style.display='none';">[x]</a>
<form method="post" enctype="multipart/form-data">
                <input type="file" name="image" /><br />
				<input type="submit" name="submit" value="{L_UPLOAD}" />
</form>